package com.baox.agridata.synchronous.service.impl;

import com.baox.agridata.synchronous.dao.TCCOutAAMapper;
import com.baox.agridata.synchronous.entity.TCCOutAAEntity;
import com.baox.agridata.synchronous.service.TCCOutAAService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TCCOutAAServiceImpl implements TCCOutAAService {

    @Autowired
    private TCCOutAAMapper tccOutAAMapper;


    @Override
    public List<TCCOutAAEntity> selectTCCOutAADataToChengDu(String createTime, String endTime) {
        return tccOutAAMapper.selectTCCOutAADataToChengDu(createTime, endTime);
    }

    @Override
    public TCCOutAAEntity selectTCCOutAAById(String mid) {
        return tccOutAAMapper.selectTCCOutAAById(mid);
    }

    @Override
    public Integer updateTCCOutAAById(TCCOutAAEntity tccOutAAEntity) {
        return tccOutAAMapper.updateTCCOutAAById(tccOutAAEntity);
    }

    @Override
    public Integer selectSiChuanToCDOutAnimalACount(String startTime, String endTime) {
        return tccOutAAMapper.selectSiChuanToCDOutAnimalACount(startTime, endTime);
    }
}
